<?
/*
CONFIG.INC.PHP
This file includes all site configuration variables
*/

$rootDir = "/home/tcntrans/public_html/";         // Absolute path for all file uploads

// Image Upload Variables
$maxFileSize = 5000000;
$mimeTypeArray = array();

// Database Connection
$dbname = 'tcntrans_main';
$dbhost = 'localhost';
$dbuser = 'tcntrans';
$dbpass = 'hJV65VUX';
$db = mysql_connect($dbhost,$dbuser,$dbpass);

$siteAreaArray = array (
					'home'        => array('Welcome'),
					'resources'   => array('View Links', 'Search Results', 'Broken Links'),
					'conferences' => array('View Conferences'),
					'users'       => array('View Administrators')					
					);

$userLevelArray = array (
					'1' => 'Super Admin',
					'2' => 'Site Manager',
					'3' => 'Data Manager'
					);					

// Page title & meta tag defaults
define('ROOT_DIR'   , '/home/tcntrans/public_html/');
define('SITE_NAME'  , 'Transition Community Network Control Panel');
define('SITE_URL'   , 'http://www.tcntransition.org');
define('MASTER_MAIL', 'info@tcnTransition.org');
define('MASTER_FROM', 'Transition Community Network');

// Some email parameters
$masterMail = "info@tcnTransition.org";
$masterFrom = "Transition Community Network";

// Some switches
$mostPopular = 0;  // Display Most Popular section on viewResources.php

$currentPage = $_SERVER[PHP_SELF];

?>